<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <style>
    .cont{width: 1000px;overflow: hidden;}
    .cont .box{float: left;border: solid 1px black;width: 250px;box-sizing: border-box;text-align: center;}
    .cont .box img{width: 70%;}
    .cont .box p{line-height: 20px;height:40px;overflow: hidden;}
  </style>
</head>
<body>
  <h2>这是商品列表</h2>
  <h3><a href="./cart.html">去结算</a></h3>
  <div class="cont"></div>
</body>
<script src="./js/listmain.js" type="module"></script>
</html>